package demo.commonClass;

import java.util.Calendar;
import java.util.Scanner;

public class IsRunNian {

	public static void main(String[] args) {
		// TODO �Զ����ɵķ������
		Scanner sc = new Scanner(System.in);
		System.out.println("���������");
		System.out.println(getYear(sc.nextInt()) ? "����" : "ƽ��");
		sc.close();
	}

	public static boolean getYear(int year) {
		Calendar c = Calendar.getInstance();
		c.set(year, 2, 1);
		c.add(Calendar.DAY_OF_MONTH, -1);
		return c.get(Calendar.DAY_OF_MONTH) == 29;
	}
}
